#ifndef DOWNLOADFILE_H
#define DOWNLOADFILE_H

#include <QWidget>

namespace Ui {
class DownloadFile;
}

class DownloadFile : public QWidget
{
    Q_OBJECT

public:
    explicit DownloadFile(QString userName, QWidget *parent = nullptr);
    ~DownloadFile();
protected:
    virtual void closeEvent(QCloseEvent *event) override;
public slots:
    void onAllFile(QStringList file);
private slots:
    void on_btn_download_clicked();

private:
    Ui::DownloadFile *ui;

signals:
    void objClose();
    void download(QString file);
};

#endif // DOWNLOADFILE_H
